Renaming the term "cart" on the web

If you need to use a term such as basket instead of cart throughout your iMIS websites, you can do so by modifying these items:

■    iMIS navigation labels (requires access and permissions for WCM)

■    Labels in the database using a parameter in System Setup

■    XML files

■    Javascript files

■    ASPX files

To change the System Setup navigation labels

See the WCM Reference for information about changing and publishing navigation items. The two navigation items to change are:

■    Store > Cart

■    System Setup > Set up commerce web components > Cart manager

To change the labels with the label parameter in System Setup

1.  Navigate to one of these fields:

□    System Setup > Set up web components > Misc label configuration - Label for shopping cart

□    System Setup > Set up web components > Address label configuration - Cart Item Label

□    System Setup > Set up commerce web components > Checkout configuration - Link for step 1

□    System Setup > Set up events web components > Events configuration - Message displayed when there is an incomplete item in the cart

2.  Ensure that the preferred term is used in the field.

3.  Click Save.

To change specific XML files

1.  On the appserver, go to C:\Program Files\ASI\iMIS\Net\bin\ and locate the files Asi.Business.Commerce.xml and Asi.iBO.xml, and locate C:\Program Files\ASI\iMIS\iMIS_public\web.sitemap, and C:\Program Files\ASI\iMIS\iMIS_public\Templates\MasterPages\Public.master.

2.  Back up each file.

3.  Search for the term cart and replace it with your preferred term in the text and title attributes of the files. Do not change the term in the URL attributes. For example, only change the term in the title of this line in web.sitemap:
<siteMapNode title="Cart" url="~/Core/cart/MyCart.aspx"></siteMapNode>

4.  Save the files with the same names as before.

To change specific JavaScript files

1.  On the appserver, locate the file C:\Program Files\ASI\iMIS\iMIS_public\Core\Admin\CartManager\CartManager.js.

2.  Back up the file.

3.  Search for the term cart and replace it with your preferred term for these two confirmation messages:

□    Line  32 -  var ans = confirm("Are sure you would like to remove all the cart items for this user?");

□    Line  56 -  var ans = confirm("Are sure you would like to remove this cart item?");

4.  Save the files with the same names as before.

To change specific ASPX files

1.  On the appserver, locate the file C:\Program Files\ASI\iMIS\iMIS_public\Core\Orders\shoppingcart.aspx.

2.  Back up the file.

3.  Search for this line and change to your preferred term:

□    <asiweb:PanelTemplateControl runat="server" TemplateTitle="Shopping Cart" ID="CartPanel">

4.  Save the file with the same name as before.

Tips

The following information can be helpful when changing the term cart to another name.

■    You do not need to restart the IIS server for any of these changes to take effect.

■    While you can change the two left-hand navigation labels under System Setup, you are not changing the field labels themselves.